package com.hyh.proxy.model;

public class PersonBeanImp implements PersonBean {

	private String name="123";
	private int age;
	private int rating=0;
	
	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public int getHotOrNotRating() {
		return rating;
	}

	@Override
	public void setName(String name) {
		this.name = name;
	}

	@Override
	public void setHotOrNotRating(int rating) {
		this.rating+=rating;
	}

}
